package com.wentao.thisService.service;

import com.wentao.thisFacade.common.UserInfo;

import java.util.Map;

/**
 * @Auther: ZhaiYanTao
 * @Date: 2020/3/27 16:43
 * @Description: 缓存service
 */
public interface CacheUserService {
    Map<String, UserInfo> getAllUserInfoCache();

    Map<String, UserInfo> putToUserInfoCache(UserInfo userInfo);

    Map<String, UserInfo> deleteUserInfoCache(UserInfo userInfo);

    Map<String, UserInfo> clearUserInfoCache();
}
